package com.qd.pay.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * @author sjk
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_order_report_notify_log")
public class OrderReportNotifyLog extends Model<OrderReportNotifyLog> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "logid", type = IdType.ASSIGN_ID)
    private String logid;

    @TableField("notify_time")
    private LocalDateTime notifyTime;

    @TableField("log_time")
    private LocalDateTime logTime;

    @TableField("notify_url")
    private String notifyUrl;

    @TableField("notify_body")
    private String notifyBody;

    @TableField("sfcg")
    private String sfcg;

    @TableField("err_msg")
    private String errMsg;

    @TableField("order_id")
    private String orderId;

    public void freeData() {
        this.logid = null;
        this.notifyTime = null;
        this.logTime = null;
        this.notifyUrl = null;
        this.notifyBody = null;
        this.sfcg = null;
        this.errMsg = null;
        this.orderId = null;
    }

}
